package com.s3u4.concurrence.disruptor;

import com.lmax.disruptor.WorkHandler;

/**
 * Created by Captain on 02/04/2018.
 */
public class Consumer implements WorkHandler<PCData> {

    @Override
    public void onEvent(PCData pcData) throws Exception {
        System.out.println(Thread.currentThread().getName() + ":Event: -- " + pcData.getValue());
    }

}
